<!-- <template>
  <div>
    <el-card>
      <div class="notice-title">
        <span>公告</span>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'blog-home-notice',
  data() {
    return {
      noticeList: []
    }
  },
  mounted() {
    this.getNoticeList();
  },
  methods: {
    getNoticeList() {
      this.$api.get('/api/notice/list').then(res => {
        this.noticeList = res.data;
      });
    }
  }
}
</script>

<style>

</style> -->